From 69a3aea594d15449d52ad6e3615d38a3022f6878 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Tue, 19 Jul 2011 17:20:43 +0200 Subject: [PATCH] disable --dynamic-list-cpp-new/--dynamic-list-cpp-typeino as they SIGSEGV ld * at least on linking transex in l10ntools/source with ld from binutils-2.21.52.20110707-1ubuntu1 Gbp-Pq: Name disable-dynamic-list-cpp.diff --- solenv/gbuild/platform/unxgcc.mk | 2 -- solenv/inc/unxgcc.mk | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index b392b3f201c..87b7b71daf4 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -141,8 +141,6 @@ endif ifneq ($(HAVE_LD_BSYMBOLIC_FUNCTIONS),) gb_LinkTarget_LDFLAGS += \ - -Wl,--dynamic-list-cpp-new \ - -Wl,--dynamic-list-cpp-typeinfo \ -Wl,-Bsymbolic-functions \ endif diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk index dbcab14a602..94495c59aea 100644 --- a/solenv/inc/unxgcc.mk +++ b/solenv/inc/unxgcc.mk @@ -186,7 +186,7 @@ LINKFLAGSRUNPATH_NONE= # flag -Wl,-z,noexecstack sets the NX bit on the stack LINKFLAGS=-Wl,-z,noexecstack -Wl,-z,combreloc $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE) .IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)" == "TRUE" -LINKFLAGS += -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo +LINKFLAGS += -Wl,-Bsymbolic-functions .ENDIF # linker flags for linking applications -- 2.30.2